package com.blueocean_health.care.management.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.blueocean_health.care.management.domain.base.ParamZi;
import com.blueocean_health.care.management.domain.vo.Criteria;
import com.blueocean_health.care.management.mapper.IParamDao;
import com.blueocean_health.care.management.service.IParamService;

@Service
public class ParamServiceImpl implements IParamService{
	@Resource
	private IParamDao paramDao;
	
	
	@Override
	public List<ParamZi> getParams(Criteria criteria) {
		return paramDao.getParamsByCriteria(criteria);
	}
	@Override
	public List<ParamZi> getParams() {
		return getParams(null);
	}
	
}
